﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FrmLookExamUser.aspx.cs" Inherits="ExamV5.WAPPage.FrmLookExamUser" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no" />
    <meta http-equiv="Content-Language" content="zh-cn" />
	<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
    <link href="Image/wapSTYLE.CSS" rel="stylesheet" type="text/css" />
    <script type="text/javascript" language="javascript" src="../Image/Img.js"></script>
	<script language="JavaScript" charset="gb2312" src="../Image/calendar.js"></script>
    <meta http-equiv="refresh" content="300">
    <style type="text/css">
		.inputTxt { BORDER-RIGHT: #8b8b8b 0px solid; BORDER-TOP: #8b8b8b 0px solid; BORDER-LEFT: #8b8b8b 0px solid; BORDER-BOTTOM: #8b8b8b 0px solid }
		</style>
    <script type="text/javascript" language="javascript">

        function CheckData() {

            if (document.getElementById("txtUserCode").value == "") {
                alert("登录帐号不可以为空！");
                document.getElementById("txtUserCode").focus();
                return false;
            }
            if (document.getElementById("txtUserPwd").value == "") {
                alert("登录密码不可以为空！");
                document.getElementById("txtUserPwd").focus();
                return false;
            }
            return true;
        }

        function QuitExit() {
            if (confirm('确定要退出系统？') == false) return false;
        }

        
        
		</script>
</head>
<body background="image/PageMainBG.jpg">

    <form id="form1" runat="server">
    <asp:ScriptManager ID="SM" runat="server">
                        </asp:ScriptManager>
                        <asp:UpdatePanel ID="UPPart" runat="server">
                           <ContentTemplate>
    <table border="0" width="100%" cellpadding="0" cellspacing="0"  align="center" >
        <tr >
            <td height="76" background="image/HeadMainBG.jpg" align="center">
                <table border="0" width="100%"  cellpadding="0" cellspacing="0">
                    <tr>
                        <td width="5" ></td>
                        <td  width="52" ><a href='FrmLookExam.aspx' title="返回在线监考模块"><img src="image/HeadReturn.jpg" border="0" alt="返回在线监考模块"/></a></td>
                        <td align="center"><img src="image/MainLookExamTop.jpg" border="0" /></td>
                        <td  width="52" ><asp:ImageButton ID="ImgButExit" runat="server" onfocus="this.blur();"
                                                            ImageUrl="image/HeadExit.jpg" BorderWidth=0 ToolTip="退出系统"  OnClientClick="return QuitExit();"  onclick="ImgButExit_Click"/></td>
                        <td width="12" ></td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td align="center" valign="top"  height="600" >
                <table border="0" width="100%" cellpadding="0" cellspacing="0">
                    <tr><td  height="10" width=5></td><td></td> </tr>
                    <tr><td  height="28"></td><td align="center" > <strong>&nbsp; <font color="#003399">查看[<asp:Label id="labExamName" runat="server" ></asp:Label>]考试信息</font></strong><hr width=100% /></td></tr>
                    <tr><td  height="10" width=5></td><td align=left>
                    <asp:dropdownlist id="DDLQuery" runat="server" style=" height:26px">
								 <asp:ListItem Value="b.UserName">考生姓名</asp:ListItem>
							    <asp:ListItem Value="b.UserCode">准考证号</asp:ListItem>
							</asp:dropdownlist><asp:TextBox ID="txtQuery" runat="server" CssClass="text"  Height="24" Width="100"></asp:TextBox><asp:Button ID="butQuery" runat="server"  Text="查  询" 
                            style='POSITION:relative;TOP:-2px' CssClass="but2G" onclick="butQuery_Click" />
                    </td> </tr>
                    <tr><td  height="10" width=5></td>
                        <td align=left>
                             <asp:GridView ID="DataGridInfo" runat="server" AllowPaging="True"  
                                            onpageindexchanging="DataGridInfo_PageIndexChanging" 
                                            AutoGenerateColumns="False" CellPadding="8" BorderWidth="1px" Width="100%" 
                                            CssClass="tableStyle" BackColor="White" PageSize="10" 
                                            AllowSorting="True"  
                                            onrowdatabound="DataGridInfo_RowDataBound" 
                                            DataKeyNames="PaperStartTime,PaperEndTime,ExamName,JoinDate,ExamStatus,LastDate,ExamTime,PaperID,StartTime" >
							            <HeaderStyle Font-Bold="True" HorizontalAlign="Center" CssClass="tabth_bg" ForeColor="#143F61"></HeaderStyle>
							            <FooterStyle ForeColor="#000066" BackColor="White"></FooterStyle>
                                            <Columns>
                                                <asp:TemplateField HeaderText="选中">
                                                    <ItemTemplate>
                                                        <asp:CheckBox ID="CheckBoxSelect" runat="server" style="width:25px;height:25px" />
                                                    </ItemTemplate>
                                                    <HeaderStyle Width="30px" />
                                                </asp:TemplateField>
                                                 <asp:BoundField DataField="UserCode" HeaderText="准考证号"  SortExpression="UserCode" >
                                                <HeaderStyle Width="75px" />
                                                </asp:BoundField>
                                                 <asp:BoundField DataField="UserName" HeaderText="考生姓名"  SortExpression="UserName" >
                                                <HeaderStyle Width="70px" />
                                                </asp:BoundField>
                                                 <asp:BoundField DataField="Flag" HeaderText="当前状态"  SortExpression="Flag" > 
                                                </asp:BoundField>
                                                
                                            </Columns>
                                        <PagerStyle HorizontalAlign="Right" />
           
                                     </asp:GridView>
                        </td> 
                    </tr>

                    <tr><td  height="10" width=5></td>
                        <td align=left>
                                    <!--分页区-->
                                        <table border="0" width="100%" cellpadding="0" cellspacing="0">
										<tr>
											<td align="left"><asp:linkbutton 
                                                    id="LBEnterExam" runat="server" ForeColor="Blue" 
                                                    onclick="LBEnterExam_Click">异常强交</asp:linkbutton>&nbsp;<asp:linkbutton 
                                                    id="LBSet" runat="server" ForeColor="Red" onclick="LBSet_Click">设置所选重考并</asp:linkbutton>
                                                <asp:DropDownList ID="DDLOpertion" runat="server" style=" height:28px">
                                                    <asp:ListItem Value="A" Selected="True">延长</asp:ListItem>
                                                    <asp:ListItem Value="S">缩短</asp:ListItem>
                                                </asp:DropDownList>
                                                <asp:TextBox id="txtTime" runat="server" CssClass="text" Height="28px" Width="30PX" onKeypress="javascript:if (event.keyCode < 48 || event.keyCode > 57) event.returnValue = false;"
																style="IME-MODE:disabled" onpaste='return false' MaxLength="3">0</asp:TextBox><font color="red">分</font></td>
										</tr>
									    </table>
                                     </td> 
                    </tr>
                </table>
            </td>
        </tr>
        
    </table>
                     </ContentTemplate>
       </asp:UpdatePanel>
    </form>

</body>
</html>
